#!/bin/bash

cd /home/zuwenqiang/Respo2/SimMed

export PYTHONPATH=$PWD:$PYTHONPATH



directory=Main_results/cka_eval/logs
if [ ! -d "$directory" ]; then
    mkdir -p "$directory"
    echo "Directory created: $directory"
else
    echo "Directory already exists: $directory"
fi



i=10
while [ $i -lt 20 ]; do
    i=$((i+1))
    CUDA_VISIBLE_DEVICES=6 python tools/CKA/example_2cft.py configs/full/ISIC/vit-base.py configs/full/ISIC/vit-base.py --checkpoint1 work_dirs/full/vit-base_ISIC/exp$i/epoch_50.pth --checkpoint2 work_dirs/vit-base-p16_3rdparty_pt-64xb64_in1k-224_20210928-02284250.pth 1>> $directory/vit_frozen3.log
done